package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.WebsiteFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

@Component
public class WebsiteFallback implements WebsiteFeign {
    @Override
    public ResultModel<WebsiteInfoVo> info(WebsiteInfoDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel save(WebsiteSaveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<WebsiteVideoVo> video(WebsiteVideoDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel videoSave(WebsiteVideoSaveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel videoRemove(WebsiteVideoRemoveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel videoMove(WebsiteVideoMoveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<WebsiteDemandVo> demand(WebsiteDemandDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel demandSave(WebsiteDemandSaveDto request) {
        return ResultModel.faultTolerant();
    }
}
